package com.systemframework.sys.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author summer
 * @date 2023-03-24 15:13
 */
@Data
public class SysMenuRequestDTO implements Serializable {

    private Integer id;

    @NotBlank(message = "菜单名称不能为空")
    private String name;

    @NotBlank(message = "菜单标题不能为空")
    private String title;

    private String icon;

    @NotBlank(message = "菜单组件不能为空")
    private String component;

    private Integer pid;

    @NotBlank(message = "菜单路径不能为空")
    private String path;
}
